.magic-card {
  width: 100%;
  height: 100%;
  background-color: #212534;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: -1;

  .magic-card-card {
    width: 400px;
    height: 600px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    &::before {
      content: "";
      position: absolute;
      z-index: -1;
      top: -50%;
      left: -50%;
      width: 1200px;
      height: 1200px;
      border-radius: 8px;
      background-image: linear-gradient(132deg, #5ddcff, #3c67e3 43%, #4e00c2);
      animation: spin 2.5s linear infinite;
    }
    &::after {
      content: "";
      position: absolute;
      top: 10px;
      left: 10px;
      width: calc(100% - 20px);
      height: calc(100% - 20px);
      background-color: #191c29;
      border-radius: 8px;
    }
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
